import service from '../App'

export function getMusicData (data) {
  return service({
    method: 'get',
    url: `/playlist/detail?id=${data}`
  })
}

export function getBottomData (id) {
  return service({
    method: 'get',
    url: `/playlist/track/all?id=${id}`
  })
}

export function getSong (id) {
  return service({
    method: 'get',
    url: `/song/detail?ids=347230`
  })
}

export function getLyric (id) {
  return service({
    method: 'get',
    url: `/lyric?id=${id}`
  })
}
